package com.eaoa.vo.pub;

import com.eaoa.vo.pub.base.BasePubBilllog;



public class PubBilllog extends BasePubBilllog implements Comparable{
	private static final long serialVersionUID = 1L;

/*[CONSTRUCTOR MARKER BEGIN]*/
	public PubBilllog () {
		super();
	}

	/**
	 * Constructor for primary key
	 */
	public PubBilllog (java.lang.Long billlogno) {
		super(billlogno);
	}

	/**
	 * Constructor for required fields
	 */
	public PubBilllog (
		java.lang.Long billlogno,
		java.lang.Long billno,
		java.lang.String logtype) {

		super (
			billlogno,
			billno,
			logtype);
	}

/*[CONSTRUCTOR MARKER END]*/
	
	@Override
	public int compareTo(Object o) {
		int result = 0;
		PubBilllog obj1 = this;
		PubBilllog obj2 = (PubBilllog) o;

		if (obj1 != null && obj2 !=null)
			result = obj1.getCreatedate().compareTo( obj2.getCreatedate());
		return result;
	}


}